﻿ <style type="text/css">
body
{
    margin:0px;
}
.jqbox_overlay
{
    position:         fixed;
    width:            100%;
    opacity:          0;//เงา
    top:              0px;
    margin:           0px;
    min-height:       200px;
    height:           100%;
    background-color: #000;
}
.jqbox_innerhtml
{
    position:         fixed;
    width:            500px;
    height:           200px;
    //margin:           5% auto;
    padding:          10px;
    background-color: #FFF;
    border:           5px solid #CCC;
    z-index:          200;
    box-shadow:       #000 0 2px 18px;
  top: 50%;
left: 50%;
margin-top: -100px;
margin-left: -250px;
}
</style>
<div class='jqbox_overlay'></div>
<div class='jqbox_innerhtml'>Popup content</div>